package com.spddr.pmos.repos;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.spddr.pmos.jpa.Plant;

public interface PlantRepos extends JpaRepository<Plant, Long> {
	List<Plant> findByGroupId(long group);

	List<Plant> findByCompanyId(long company);

	List<Plant> findByReservoirId(long reservoir);
}
